projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bf8e53
)
Revert previous change.
author
Juanma Barranquero
<lekktu@gmail.com>
Sat, 16 Feb 2008 20:21:16 +0000
(20:21 +0000)
committer
Juanma Barranquero
<lekktu@gmail.com>
Sat, 16 Feb 2008 20:21:16 +0000
(20:21 +0000)
lisp/vc-hooks.el
patch
|
blob
|
history
diff --git
a/lisp/vc-hooks.el
b/lisp/vc-hooks.el
index 38ad7b5ea8313ee018317ad45c0a28930bd51dd7..64a7d8f527a57cd1e4bfcd68093c4488032cd478 100644
(file)
--- a/
lisp/vc-hooks.el
+++ b/
lisp/vc-hooks.el
@@
-316,7
+316,7
@@
The function walks up the directory tree from FILE looking for WITNESS.
If WITNESS if not found, return nil, otherwise return the root."
;; Represent /home/luser/foo as ~/foo so that we don't try to look for
;; witnesses in /home or in /.
- (while (
and (not (file-directory-p file)) (file-exists
-p file))
+ (while (
not (file-directory
-p file))
(setq file (file-name-directory (directory-file-name file))))
(setq file (abbreviate-file-name file))
(let ((root nil)